package com.shawn.spring.boot.jpa.service;

import com.shawn.spring.boot.jpa.entity.User;
import java.util.List;

public interface UserService {

  void insertThenRollback(User user);

  void invokeInsertThenRollback(User user) throws RuntimeException;

  List<User> findAll();
}
